package jxtend.processor.eclipse.visitor.replace;

import org.eclipse.jdt.internal.compiler.ast.ASTNode;
import org.eclipse.jdt.internal.compiler.ast.NormalAnnotation;
import org.eclipse.jdt.internal.compiler.ast.SingleMemberAnnotation;
import org.eclipse.jdt.internal.compiler.ast.TypeReference;

@SuppressWarnings("restriction")
public class AnnotationMemberValueReplacer implements ASTNodeReplaceHandler {

	@Override
	public boolean replaceNode(ASTNode parentNode, ASTNode originalNode, ASTNode newNode) {
		if (!(parentNode instanceof SingleMemberAnnotation || parentNode instanceof NormalAnnotation)
				|| (!(originalNode instanceof TypeReference)
				|| !(newNode instanceof TypeReference))) {
			return false;
		}
		// TODO Auto-generated method stub
		return false;
	}

}
